#-------------------------------------------------
#
# Project created by QtCreator 2015-08-01T16:31:51
#
#-------------------------------------------------

QT       += widgets

TARGET = RSGISApp
TEMPLATE = lib

DESTDIR = ../

DEFINES += RSGISAPP_LIBRARY


SOURCES += \
    rsgiswindow.cpp \
    rsgisappinterface.cpp \
    rsgispluginregistry.cpp \
    rsgispluginmetadata.cpp \
    shared/ribbonwindow.cpp

HEADERS +=\
        rsgisapp_global.h \
    rsgiswindow.h \
    rsgisappinterface.h \
    rsgispluginregistry.h \
    rsgispluginmetadata.h \
    shared/ribbonwindow.h

unix {
    target.path = /usr/lib
    INSTALLS += target
}

FORMS += \
    rsgiswindow.ui

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Bin/Windows/Release/ -lRSGISCore
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Bin/Windows/Debug/ -lRSGISCore
else:unix: LIBS += -L$$PWD/../../Bin/Windows/Debug/ -lRSGISCore

INCLUDEPATH += $$PWD/../RSGISCore
DEPENDPATH += $$PWD/../RSGISCore

#config QtitanRibbon lib
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Bin/Windows/Release/ThirdLib/ -lqtnribbon3
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Bin/Windows/Debug/ThirdLib/ -lqtnribbond3
else:unix: LIBS += -L$$PWD/../../Bin/Windows/Debug/ThirdLib/ -lqtnribbond3

INCLUDEPATH += $$PWD/../ThirdHeader/QtitanRibbon/include
DEPENDPATH += $$PWD/../ThirdHeader/QtitanRibbon/include
